package com.mixmall.controller;

import com.mixmall.service.IMaiProductClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author caozhiren
 * @since 2024-09-13
 */
@RestController
@RequestMapping("/mixmall/maiProductClass")
public class MaiProductClassController {
    @Autowired
    IMaiProductClassService maiProductClassService;
    @RequestMapping("/list")
    public Object getClassList(){
        return maiProductClassService.list();
    }
}
